<template>
    {{ localPath }}
</template>

<script setup>
import { ref, onMounted } from 'vue'
import { useRouter } from 'vue-router'
const localPath = ref('')
const router = useRouter()
onMounted(() => {
    localPath.value = router.currentRoute.value.path
})
</script>